/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chapter3;

/**
 *
 * @author Denise Carolina
 */
public class SelfTest6 extends Raptor{
    public static void main(String[] args) {
        System.out.println("pre ");
        new SelfTest6();
        
        System.out.println("hawk ");
    }
}

class Bird{
    {System.out.println("b1 ");}
    public Bird(){System.out.println("b2 ");}
}

class Raptor extends Bird{
    static {System.out.println("r1 ");}
    public Raptor(){System.out.println("r2 ");}
    {System.out.println("r3 ");}
    static{System.out.println("r4");}
}